package com.lhkj.ct.base.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;


public enum PatSourceEnum implements IBaseEnum<Integer, String> {

    LR(1,"录入"),
    MZ(2,"门诊"),
    ZY(3,"住院"),
    TJ(4,"体检"),
    WX(5,"微信");


    @EnumValue
    private final int code;

    private final String desc;

    PatSourceEnum(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }


    @Override
    public Integer getValue() {
        return code;
    }

    @Override
    public String getLabel() {
        return desc;
    }
}
